package com.group.www.pojo;

import java.io.Serializable;

public class AddressInfo implements Serializable {
    private Integer addid;

    private Integer userid;

    private String address;

    private Integer isdefault;

    private static final long serialVersionUID = 1L;

    public Integer getAddid() {
        return addid;
    }

    public void setAddid(Integer addid) {
        this.addid = addid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Integer getIsdefault() {
        return isdefault;
    }

    public void setIsdefault(Integer isdefault) {
        this.isdefault = isdefault;
    }

    public AddressInfo() {
    }

    public AddressInfo(Integer addid, Integer userid, String address, Integer isdefault) {
        this.addid = addid;
        this.userid = userid;
        this.address = address;
        this.isdefault = isdefault;
    }

    @Override
    public String toString() {
        return "AddressInfo{" +
                "addid=" + addid +
                ", userid=" + userid +
                ", address='" + address + '\'' +
                ", isdefault=" + isdefault +
                '}';
    }
}